package com.example.demo.API;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface JokeService {
    // https://autumnfish.cn/api/joke/list?num=2
    //声明api

    @GET("joke/list")
    Call<JokeEntity> getJokes(@Query("num") int num);
}
